﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Sunboxsoft.ASMS.Server.Domain.Entity
{
    /// <summary>
    /// 客户信息
    /// </summary>
    public class ECustomer
    {
        public Guid Id { get; set; }
        public string Number { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string Telephone { get; set; }

        /// <summary>
        /// 邮箱
        /// </summary>
        public string EMail { get; set; }

        /// <summary>
        /// 身份证
        /// </summary>
        public string IdNumber { get; set; }

        /// <summary>
        /// 国家
        /// </summary>
        public string Country { get; set; }

        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }

        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }
        
        /// <summary>
        /// 区
        /// </summary>
        public string District { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 客户类型 
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// qq号码
        /// </summary>
        public string QQ { get; set; }

        /// <summary>
        /// 微信号
        /// </summary>
        public string Wechat { get; set; }

        /// <summary>
        /// 会员卡号
        /// </summary>

        public string VIPNumber { get; set; }

        /// <summary>
        /// 会员等级编码
        /// </summary>
        public string VIPLevelCode { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public int Gender { get; set; }

        /// <summary>
        /// 生日
        /// </summary>
        public DateTime? Birthday { get; set; }

        /// <summary>
        /// 是否挂账
        /// </summary>
        public bool IsCredit { get; set; }

        /// <summary>
        /// 销售经理
        /// </summary>
        public Guid? SalesManagerId { get; set; }

        public Guid? BusinessId { get; set; }

        public Guid? StationId { get; set; }

        /// <summary>
        /// 从app同步过来的时间
        /// </summary>
        public DateTime? AppSyncedTime { get; set; }

        /// <summary>
        /// 离线数据Id
        /// </summary>
        public Guid? OfflineId { get; set; }

        public int Status { get; set; }
        public DateTime CreatedTime { get; set; }
        public string Creator { get; set; }
    }
}
